Einhugur Word Plugin for Objo

Einhugur.Word.Paragraph.AppendShapeGroupRun Method

Appends shape group to the paragraph, and first shape in the group is also created to make the shape group valid. A run is created, and you can get the shape from within the Run. If you do not care about getting handle to the Run then use the AppendShapeGroup function which only returns the shape group.

AppendShapeGroupRun(
   shapeType as Einhugur.Word.ShapeTypes,
   x as Double,
   y as Double,
   cx as Double,
   cy as Double,
   emuUnit as Einhugur.Word.EmuUnits) as Einhugur.Word.Run

Parameters

shapeType
The type of the first shape in the group.
x
X Location of the shape from start of the paragraph.
y
Y Location of the shape from start of the paragraph.
cx
Width or x portion 2nd point of the shape.
cy
The height or y portion 2nd point of the shape.
emuUnit
The unit for the shape.

Returns

Einhugur.Word.Run
The newly created Run which contains the ShapeGroup.

Remarks

See Also

Einhugur.Word.Paragraph Class